package com.yequan.designpattern.factory.abstractfactory;

import com.yequan.designpattern.factory.IProduct1;
import com.yequan.designpattern.factory.IProduct2;
import com.yequan.designpattern.factory.Product1A;
import com.yequan.designpattern.factory.Product2A;

public class ProductFactory extends AbstractFactory {
    @Override
    public IProduct1 createProduct1() {
        return new Product1A();
    }

    @Override
    public IProduct2 createProduct2() {
        return new Product2A();
    }
}
